const state = {
	user: {
		// 登录状态 !!window.localStorage.getItem('token') 等同于 window.localStorage.getItem('token') ? true : false; 用来判断是否存在
		isLogin: !!window.localStorage.getItem('token')
	},
	cartCount: 0
}

export default state;